package rollercoaster.environment.utils;



public class Index {

	private int faceVertex;
	private int faceNormal;
	private int faceTexture;
	  

	@Override
	public boolean equals(Object obj) {
		if (obj instanceof Index) {
		    //id comparison
		    Index mo = (Index)obj;
		    if (mo.faceVertex==faceVertex && mo.faceNormal==faceNormal && mo.faceTexture==faceTexture) 
				return true;
		}
				return false;

	}

	
	public int getFaceTexture() {
		return faceTexture;
	}


	public void setFaceTexture(int faceTexture) {
		this.faceTexture = faceTexture;
	}


	public int getFaceVertex() {
		return faceVertex;
	}

	public void setFaceVertex(int faceVertex) {
		this.faceVertex = faceVertex;
	}

	public int getFaceNormal() {
		return faceNormal;
	}

	public void setFaceNormal(int faceNormal) {
		this.faceNormal = faceNormal;
	}
	
	
	
}
